/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package MenuPrincipal;

/**
 *
 * @author martinLequerica
 */
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;

public class PopMenu extends JPopupMenu {
    //PopUpMenu Boton derecho 

    private JMenuItem agregar;
    private JMenuItem modificar;
    
    public PopMenu() {

        
       agregar = new JMenuItem("Agregar");
       modificar = new JMenuItem("Modificar");
        

        //JPopUpMenu
        add(agregar);
        add(modificar);
        
        //Establecer PopUpMenu al JFrame
        

        
        
        
    }

    public JMenuItem getAgregar() {
        return agregar;
    }

    public JMenuItem getModificar() {
        return modificar;
    }
    
    
    
    

    
}